import { getRequest, postRequest, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';

export const getBusinessTypeOne = (params) => {
    return getRequest('/businessType/getOne', params)
}
export const getBusinessTypeList = (params) => {
    return getRequest('/businessType/getByPage', params)
}
export const getBusinessTypeCount = (params) => {
    return getRequest('/businessType/count', params)
}
export const addBusinessType = (params) => {
    return postRequest('/businessType/insert', params)
}
export const editBusinessType = (params) => {
    return postRequest('/businessType/update', params)
}
export const addOrEditBusinessType = (params) => {
    return postRequest('/businessType/insertOrUpdate', params)
}
export const deleteBusinessType = (params) => {
    return postRequest('/businessType/delByIds', params)
}